package com.yami.shop.rights.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class PersonRightsDto {

    private long id;
    private String remark;
    private long times;
    private long rightsId;
    private String userId;
    private String externalId;
    private Timestamp createTime;
    private String holderUserId;
    private String status;
    // 权益状态修改 默认为 0
    private int statusUpdate = 0;
    private Long preemptionType;

    @Schema(description = "权益名称")
    private String rightsName;

    @Schema(description = "权益类型(1:普通权益2:实物权益3:优惠券权益4:抽奖权益5:赠送盲盒权益6:增加限购权益7:单方空投权益8:双方空投权益9:优先购权益10:电子券权益11空投权益12兑换商品权益)")
    private String type;

    private Timestamp exchangeEndTime;
}
